<?php
namespace Common;

class DBTables
{
	/*
	 * OBS! Följande variabler används av installationsskriptet och bör ej ändras
	 */
	 
	// Gemensamma nycklar
	public $userIdField = "userId";
	public $albumIdField = "albumId";
	
	// user-tabellen
	public $userTable = "user";
	
	public $userTypeIdField = "userTypeId";
	public $userNameField = "userName";	
	public $firstNameField = "firstName";
	public $lastNameField = "lastName";
	public $passwordField = "password";
	public $emailField = "email";
	
	// album-tabellen
	public $albumTable = "album";
	
	public $albumTitleField = "title";
	public $albumYearField = "year";
	public $albumDescriptionField = "description";
	
	// image-tabellen
	public $imageTable = "image";
	
	public $imageIdField = "imageId";
	public $imageDescriptionField = "description";
	public $imageUrlField = "imageUrl";
	public $thumbUrlField = "thumbUrl";
	
	// tokens-tabellen
	public $tokenTable = "token";
	
	public $tokenIdField = "tokenId";
	public $tokenField = "token";
	public $ipField = "ip";
	
	// userType-tabellen
	public $userTypeTable = "userType";
	
	public $userTypeField = "userType";
}
?>